package com.ruoyi.weixin.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单物流对象 order_logistics
 *
 * @author dqianhe
 * @date 2022-04-27
 */
public class OrderLogistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    private String id;

    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
    private String delFlag;

    /**
     * 邮编
     */
    @Excel(name = "邮编")
    private String postalCode;

    /**
     * 收货人名字
     */
    @Excel(name = "收货人名字")
    private String userName;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String telNum;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 物流商家
     */
    @Excel(name = "物流商家")
    private String logistics;

    /**
     * 物流单号
     */
    @Excel(name = "物流单号")
    private String logisticsNo;

    /**
     * 快递单当前状态，包括-1错误，0在途，1揽收，2疑难，3签收，4退签，5派件，6退回，7转投 等7个状态
     */
    @Excel(name = "快递单当前状态，包括-1错误，0在途，1揽收，2疑难，3签收，4退签，5派件，6退回，7转投 等7个状态")
    private String status;

    /**
     * 签收标记（0：未签收；1：已签收）
     */
    @Excel(name = "签收标记", readConverterExp = "0=：未签收；1：已签收")
    private String isCheck;

    /**
     * 相关信息
     */
    @Excel(name = "相关信息")
    private String message;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTelNum() {
        return telNum;
    }

    public void setTelNum(String telNum) {
        this.telNum = telNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(String isCheck) {
        this.isCheck = isCheck;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("postalCode", getPostalCode())
                .append("userName", getUserName())
                .append("telNum", getTelNum())
                .append("address", getAddress())
                .append("logistics", getLogistics())
                .append("logisticsNo", getLogisticsNo())
                .append("status", getStatus())
                .append("isCheck", getIsCheck())
                .append("message", getMessage())
                .toString();
    }
}
